package 草稿;

/**
 * @projectName: JAVA编程
 * @package: 草稿.实验6
 * @className: T
 * @author: hhy帅
 * @description: TODO
 * @date: 2021/11/8 8:55
 */
public class T {
    int x, y;
    T(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public static void main(String[] args) {
        T pt1, pt2;
        pt1 = new T(3, 3);
        pt2 = new T(4, 4);
        System.out.print(pt1.x + pt2.x);
    }
}

